package com.talkology.pilot.database.dao;

import com.talkology.pilot.database.model.User;

import java.util.List;

public interface UserMapper {
    List<User> selectByFilter(Object filter);

    User queryByOpenid(String openid);

    int deleteByPrimaryKey(Long index);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long index);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}